package com.xiyi.shouxin.entity.user;

import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import lombok.Data;

/*
 * 用户答题表
 */
@Data
@Table(value = "user_answer")
public class UserAnswer {
    @Id
    @Column(value = "id")
    private Long id;
    /*
     * 用户id
     */
    @Column(value = "uid")
    private Long uid;
    /*
     * 回答
     */
    @Column(value = "answer")
    private String answer;

}
